import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
import '@/assets/css/common.scss'
import 'virtual:svg-icons-register' // 引入注册脚本
import SvgIcon from '@/components/SvgIcon/index.vue'

const app = createApp(App)
const pinia = createPinia()
app.use(pinia)

app.component('svg-icon', SvgIcon)
app.mount('#app')

document.title = <string>import.meta.env.VITE_APP_TITLE
